﻿using System;
using System.Collections.Generic;

namespace BattleforgeAssault
{
    // TODO: Everything
    public class Bot : Player
    {
        public override Action SelectAction(string message)
        {
            if (Game.CurrentAction == null) Messager.SendMessage("Bot takes no actions");
            else Messager.SendMessage("Bot does not respond to {0}", Game.CurrentAction.Source);
            return null;
        }

        public override Card SelectCard(string message)
        {
            Messager.SendMessage("Bot plays no cards");
            return null;
        }

        public override List<GameObject> SelectTargets(string message, int min, int max, Func<GameObject, bool> targetIsValid)
        {
            Messager.SendMessage("Bot selects no targets");
            return null;
        }

        public override int AnswerQuery(Query query)
        {
            Messager.SendMessage("Bot skips the query");
            return -1;
        }
        
        public Bot(Game game) : base(game)
        {
        }
    }
}
